package com.inspire.springboot.impl;

import com.inspire.springboot.controller.MQController;
import com.inspire.springboot.service.ICustInfoService;
import com.inspire.springboot.service.LibVerifyOldCustomerReqVO;
import com.inspire.springboot.service.LibVerifyOldCustomerRespVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：inspire
 * @date ：Created in 2022/9/14 9:35
 * @description：
 * @modified By：inspire
 * @version:
 */

@Service
public class LibVerifyOldCustomerProviderImpl implements LibVerifyOldCustomerRespVO {

    private static final Logger logger = LoggerFactory.getLogger(MQController.class);

    @Autowired
    private ICustInfoService iCustInfoService;

    @Override
    public LibVerifyOldCustomerRespVO process(LibVerifyOldCustomerReqVO libVerifyOldCustomerReqVO) {

        LibVerifyOldCustomerRespVO libVerifyOldCustomerRespVO;
        libVerifyOldCustomerRespVO=iCustInfoService.getCustInfoByPhoneNumber(libVerifyOldCustomerReqVO);
        return libVerifyOldCustomerRespVO;
    }
}
